﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeadEdit.aspx.cs" Inherits="ukeasbjWeb.LeadEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
		<title>修改客户信息</title> 
		<!-- 可修改区域：标题 Begin -->
		<!-- 可修改区域：标题 End -->
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
		<%    
			Response.WriteFile ("HeadComm.inc"); 
		%>    
</head>
	<body >
		<form id="form_LeadEdit" method="post" runat="server">
			<!-- 可修改区域：正文区Top -->
            <table align="center">
		    <tr valign="middle"  bgcolor="#99cc66" >
						
						<td align="center">
                                
                                <asp:Button ID="Button_Refresh" runat="server" Text="刷新本条客户数据" 
                                    onclick="Button_Refresh_Click" />
                                
                                </td>
						
						
					</tr>
		    </table>
			<table id="Tab_Body" cellspacing="0" width="100%" border="1">
					<tr valign="middle" >
					    <td align="right" >地区<br />
                        </td>
						<td align="left">
							(自动生成)
						    <asp:textbox id="TextBox_Office" runat="server" width="160" MaxLength="20"></asp:textbox>
							<asp:requiredfieldvalidator id="Requiredfieldvalidator13" Runat="server" Display="Dynamic" ControlToValidate="TextBox_Office"
								Text="不能为空"  ></asp:requiredfieldvalidator>	
						</td>
						<td align="right" >登记日期</td>
						<td align="left">
						    (自动生成)
						    <asp:textbox id="TextBox_Date_Register" runat="server" width="160" MaxLength="20"></asp:textbox>
							<asp:regularexpressionvalidator id="RFV_Date_Register" Display="Dynamic" ControlToValidate="TextBox_Date_Register"
								ErrorMessage="范例:'2007-1-21'" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}" Runat="server"></asp:regularexpressionvalidator>
						</td>
						<td align="right" >咨询人姓名</td>
						<td align="left">(前台登记，顾问、客服专员、经理查看)
						    <asp:textbox id="TextBox_Name_Inquirer" runat="server" width="160" MaxLength="20"></asp:textbox>
						    
						    
						</td>
						<td align="right" >咨询人电话</td>
						<td align="left">(前台登记，顾问、客服专员、经理查看)
						    <asp:textbox id="TextBox_Tel_Inquirer" runat="server" width="160" MaxLength="20"></asp:textbox>
						    
						</td>
						
					</tr>
					<tr valign="middle" >
					    <td align="right" >咨询人Email地址</td>
						<td align="left">(前台登记，顾问、客服专员、经理查看)

						    <asp:textbox id="TextBox_Email_Inquirer" runat="server" width="160" MaxLength="60"></asp:textbox>
						    <asp:regularexpressionvalidator id="Regularexpressionvalidator_Email_Inquirer" Display="Dynamic" ControlToValidate="TextBox_Email_Inquirer"
								ErrorMessage="范例:Name@sina.com.cn" ValidationExpression="([a-zA-Z0-9]){1,1}([.a-zA-Z0-9_-]){1,16}([a-zA-Z0-9]){1,1}@([a-zA-Z0-9_-]){2,10}(.([a-zA-Z0-9]){2,}){1,4}$" Runat="server"></asp:regularexpressionvalidator>
						    	</td>
						<td align="right" >咨询人QQ/MSN</td>
						<td align="left">(前台登记，顾问、客服专员、经理查看)
						    <asp:textbox id="TextBox_QQMSN_Inquirer" runat="server" width="160" MaxLength="20"></asp:textbox>
						    
						</td>
						<td align="right" >客户留学意向</td>
						<td align="left">(前台登记，顾问、客服专员、经理查看)
						    <asp:dropdownlist id="Drop_Overseas_Study" runat="server"  width="160" DataValueField="Code_Overseas_Study" DataTextField="Overseas_Study">
						    </asp:dropdownlist>
						    
						</td>
						<td align="right" >客户接触方式</td>
						<td align="left"> (前台登记，经理查看)
						    <asp:dropdownlist id="Drop_Type_Contact" runat="server" width="160" DataValueField="Code_Type_Contact" DataTextField="Type_Contact">
					                    </asp:dropdownlist>
						   
						</td>
						
					</tr>
					<tr valign="middle" >
					    <td align="right" >客户了解渠道</td>
						<td align="left">(前台登记，经理查看)
						    <asp:dropdownlist id="Drop_Channel_Customer2Know" runat="server" width="200" DataValueField="Code_Channel_Customer2Know" DataTextField="Channel_Customer2Know">
					                    </asp:dropdownlist>
						    
						     </td>
						
						
						<td align="right" >前台姓名</td>
						<td align="left" >(系统自动生成)
						    <asp:textbox id="TextBox_Name_Receptionist" runat="server" width="160" MaxLength="20"></asp:textbox>
							
						</td>
						<td align="right" >(一次分配)顾问</td>
						<td align="left" >(前台指定)
						    <asp:textbox id="TextBox_Counsellor" runat="server" width="160" MaxLength="20"></asp:textbox>
							<asp:dropdownlist id="Drop_Counsellor" runat="server" width="160" 
                                DataValueField="Code_Employee" DataTextField="C_N_Employee" 
                                onselectedindexchanged="Drop_Counsellor_SelectedIndexChanged"></asp:dropdownlist>
						
						</td>
                        <td align="right" >学生姓名</td>
						<td align="left" >(同资金流向表，必填项)(此栏由顾问填写，客服专员、经理查看)
						    <asp:textbox id="TextBox_Student_Name" runat="server" width="160" MaxLength="20"></asp:textbox>
						
						</td>
						</tr>
					<tr valign="middle" >
						<td align="right" >学生电话</td>
						<td align="left">(此栏由顾问填写，客服专员、经理查看)
						    <asp:textbox id="TextBox_Tel_Student" runat="server" width="160" MaxLength="20"></asp:textbox>
						
						</td>
						
						<td align="right" >(一次分配)客户状态</td>
						<td align="left">(顾问咨询后登记)(5星客户-半年内有望签约)(4星客户-1年内有望签约)(3星客户-1至2年有望签约)
(0无效：根本没有出国意向)(1星潜在：有出国意向，但2年之后)(1星潜在客户系统改为1年之后继续跟进)

						    <asp:dropdownlist id="Drop_State_Customer" runat="server" width="160" DataValueField="Code_State_Customer" DataTextField="State_Customer">
					                    </asp:dropdownlist>
						    						    </td>
					    <td align="right" >合同主键</td>
						<td align="left">(如签约，请填写合同主键号；如仅签了授权信，请填写"授权"2字)(此栏由顾问填写，客服专员、经理查看)
						    <asp:textbox id="TextBox_Series_No" runat="server" width="160" MaxLength="20"></asp:textbox>
							一期款日期
							<asp:textbox id="TextBox_Date_First_Payment" runat="server" width="160" MaxLength="20"></asp:textbox>
							<asp:regularexpressionvalidator id="Regularexpressionvalidator1" Display="Dynamic" ControlToValidate="TextBox_Date_First_Payment"
								ErrorMessage="范例:'2007-1-21'" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}" Runat="server"></asp:regularexpressionvalidator>
						
						</td>
						<td align="right" >客服专员姓名</td>
						<td align="left">(客服专员登录后，系统检查自己的名字是否已经存在，如果没有则添加，名字之间用逗号隔开。)
						    <asp:textbox id="TextBox_Name_Frontline_Agent" runat="server" width="160" MaxLength="20"></asp:textbox>
							
								
						</td>
					    </tr>
					<tr valign="middle" >


						<td align="right" >客服回访日期</td>
						<td align="left" >(系统自动生成日期，客服完成有效回访后存入数据库)
						    <asp:textbox id="TextBox_Date_FA_Return_Visit" runat="server" width="160" MaxLength="20"></asp:textbox>
						    <asp:regularexpressionvalidator id="Regularexpressionvalidator2" Display="Dynamic" ControlToValidate="TextBox_Date_FA_Return_Visit"
								ErrorMessage="范例:'2007-1-21'" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}" Runat="server"></asp:regularexpressionvalidator>
						
						</td>
						
						<td align="right" >二次分配客户状态</td>
						<td align="left">(顾问咨询后登记)(有效：2年内有出国意向，或者有可能2年内成为我们客户的)(0无效：根本没有出国意向)(1星潜在：有出国意向，但2年之后)
						
						    <asp:dropdownlist id="Drop_Second_State_Customer" runat="server" width="160" DataValueField="Code_State_Customer" DataTextField="State_Customer">
					                    </asp:dropdownlist>
						</td>
						<td align="right" >二次分配顾问</td>
						<td align="left">有效客户重新分配咨询顾问(重新分配后，1个月内未签约，仍然回到客服区)

						    <asp:textbox id="TextBox_Second_Counsellor" runat="server" width="160" MaxLength="20"></asp:textbox>
						    <asp:dropdownlist id="Drop_Second_Counsellor" runat="server" width="160" 
                                DataValueField="Code_Employee" DataTextField="C_N_Employee" 
                                onselectedindexchanged="Drop_Second_Counsellor_SelectedIndexChanged"></asp:dropdownlist>
						    						    </td>
						
						<td align="right" >(一次分配)顾问延续跟进日期</td>
						<td align="left" >(地区经理填写)有效+1月内未签约，但顾问表示仍然要继续跟进等待签约的客户，地区经理手动输入下次询问顾问进展的日期。此日期内，不再进入客服页面；过期，自动跳入客服页面
						    
						    <asp:textbox id="TextBox_Date_Continue_Follow_up" runat="server" width="160" MaxLength="20"></asp:textbox>
						    <asp:regularexpressionvalidator id="Regularexpressionvalidator3" Display="Dynamic" ControlToValidate="TextBox_Date_Continue_Follow_up"
								ErrorMessage="范例:'2007-1-21'" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}" Runat="server"></asp:regularexpressionvalidator>
						    </td>
						</tr>
					<tr valign="middle" >
							
						<td align="right" ></td>
						<td align="left">
						<asp:checkbox id="CheckBox_Is_Active" runat="server" width="140" 
                                TextAlign="Left" Text="活跃数据"></asp:checkbox>
                        </td>
						<td align="right" ></td>
						<td align="left">
						<asp:checkbox id="CheckBox_Is_New" runat="server" width="140" TextAlign="Left" Text="新的数据"></asp:checkbox>
						</td>
						<td align="right" ></td>
						<td align="left">
						<asp:checkbox id="CheckBox_AllowedSameName" runat="server" width="140" TextAlign="Left" Text="允许同名"></asp:checkbox>
						</td>
					</tr>
					
			</table>
			<table align="center">
				<tr valign="middle">
					<td align="right" width="150">备注:</td>
					<td align="left"><asp:textbox id="TextBox_Notes_Lead" runat="server"  Width="700px" 
                            Height="50px" TextMode="MultiLine"></asp:textbox>
                    </td>
				</tr>
			</table>
                        <!-- 可修改区域:测试 htmltable 表 Top -->
						<hr />
            <table align="center">
				<tr valign="middle">
					<td align="right" width="150">添加跟进记录:</td>
					<td align="left"><asp:textbox id="TextBox_Notes_Follow_up" runat="server" MaxLength="250" Width="700"></asp:textbox></td>
				</tr>
				
			</table>						
		                <asp:label id="Label_Consultation_Follow_up" runat="server" EnableViewState="true" ForeColor="black"></asp:label>
						<table id="Table_Consultation_Follow_up" bordercolor="#99cc66" cellspacing="0" cellpadding="1" bgcolor="palegoldenrod"
							border="1" runat="server">
						</table>    	
						
						<!-- 可修改区域:测试 htmltable 表 Bottom -->
		<table align="center">
		    <tr valign="middle"  bgcolor="#99cc66" >
						
						<td align="center"><font face="宋体" size="2"><asp:button id="Bt_OK" runat="server" 
                                Text="确认修改" onclick="Bt_OK_Click"></asp:button></font></td>
						<td align="center"><font face="宋体" size="2"><input id="Bt_Reset" type="reset" value="取消修改" name="Bt_Reset" runat="server"/></font></td>
						
					</tr>
		    </table>
		    <table align="center">
			<tr valign="middle" align="center" >
		    	<td colspan="2">客户序号:<asp:label id="Label_Msg" runat="server" ForeColor="red" EnableViewState="false"></asp:label>
				</td>
			</tr>
			
			<tr valign="middle" align="center" >
				<!-- 版权声明区Top -->
				<%    
				Response.WriteFile ("main_bottom.inc"); 
			%>
			</tr> <!-- 版权声明区Bottom -->
			<tr>		
			<td align="center"><a href="#" onclick="javascript:self.close()">关闭本页</a></td>
			</tr>
		</table>
		</form>
		</body>
</html>
